package com.example.springboot.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * ClassName:Bike
 * Package:com.example.springboot.entity
 * Description:
 *
 * @Author: Gao
 * @Create: 2023/2/6 - 18:54
 */
@Data
public class Bike implements Serializable {
    private Integer id;
    private String name;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date date;
    private Integer status;
    private String cover;
    private Integer nums;
    private String category;
    private String description;
    private List<String> categories;
}
